package com.yanqu.road.entity.autodata.hotpotjump;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.autodata.AutoDataObject;

@FieldTypeAnnotation(tableName = "t_u_activity_hotpotjump", desc = "火锅跳棋")
public class UserHotpotJumpData extends AutoDataObject {
    @FieldTypeAnnotation(select = true, isIndex = true, update = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "玩家id", select = true, isIndex = true, update = true)
    private long userId;
    @FieldTypeAnnotation(desc = "每日游戏次数")
    private int gameTimes;
    @FieldTypeAnnotation(desc = "最后一次游戏时间")
    private long lastGameTime;
    @FieldTypeAnnotation(desc = "最高积分")
    private int score;
    @FieldTypeAnnotation(desc = "更新最高积分时的最高回合")
    private int maxRound;
    @FieldTypeAnnotation(desc = "引导数据")
    private String guide="";
    @FieldTypeAnnotation(desc = "是否购买白银战令")
    private int buySilver;
    @FieldTypeAnnotation(desc = "是否购买黄金战令")
    private int buyGold;
    @FieldTypeAnnotation(desc = "总游戏次数")
    private int totalGameTimes;

    public UserHotpotJumpData() {
    }

    public UserHotpotJumpData(int activityId, long userId) {
        this.activityId = activityId;
        this.userId = userId;
        setInsertOption();
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getGameTimes() {
        return gameTimes;
    }

    public void setGameTimes(int gameTimes) {
        this.gameTimes = gameTimes;
        setUpdateOption();
    }

    public long getLastGameTime() {
        return lastGameTime;
    }

    public void setLastGameTime(long lastGameTime) {
        this.lastGameTime = lastGameTime;
        setUpdateOption();
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
        setUpdateOption();
    }

    public String getGuide() {
        return guide;
    }

    public void setGuide(String guide) {
        this.guide = guide;
        setUpdateOption();
    }

    public int getBuySilver() {
        return buySilver;
    }

    public void setBuySilver(int buySilver) {
        this.buySilver = buySilver;
        setUpdateOption();
    }

    public int getBuyGold() {
        return buyGold;
    }

    public void setBuyGold(int buyGold) {
        this.buyGold = buyGold;
        setUpdateOption();
    }

    public int getTotalGameTimes() {
        return totalGameTimes;
    }

    public void setTotalGameTimes(int totalGameTimes) {
        this.totalGameTimes = totalGameTimes;
        setUpdateOption();
    }

    public int getMaxRound() {
        return maxRound;
    }

    public void setMaxRound(int maxRound) {
        this.maxRound = maxRound;
        setUpdateOption();
    }
}
